package cn.kpi.dao.usualassessment;

import cn.kpi.common.persistence.MyBatisDao;
import cn.kpi.entity.usualassessment.UserAudio;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @BelongsProject: kpispis
 * @BelongsPackage: cn.kpi.dao.usualassessment
 * @Author: lizeze
 * @CreateTime: 2018-08-02 22:29
 * @Description: ${Description}
 */
@MyBatisDao
public interface UserAudioDao {

    int addAudio(@Param("userId") int userId, @Param("audioId") int audioId);

    int deleteAudio(@Param("userId") int userId);

    int deleteAudioByid(@Param("id") int id);

    List<UserAudio> getAudios(@Param("where") String where);

}
